<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>伪类选择器</title>
    <style>
        /* ul>li.first{
            color: red;
        } */
        /* ul>li:first-child{
            color:red;
        }
        ul>li:last-child{
            color:violet;
        }
        ul>li:nth-child(4){
            color:brown;
        }
        ul>li:first-of-type{
            color:tomato
        } */
        ul>li:not(:nth-of-type(3)){
            color:red;
        }
    </style>
</head>
<body>
    <ul>
        <span>我是第一个span</span>
        <li>第零个</li>
        <li>第一个</li>
        <li>第二个</li>
        <li>第三个</li>
        <li>第四个</li>
        <li>第五个</li>
    </ul>
</body>
</html>